package agenceVoyageVirtuel.client.control;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Image;

public class BarreRecherche extends Composite {

	public BarreRecherche() {
		
		HorizontalPanel horizontalPanel = new HorizontalPanel();
		initWidget(horizontalPanel);
		horizontalPanel.setSize("314px", "43px");
		
		Label lblRecherche = new Label("Recherche : ");
		horizontalPanel.add(lblRecherche);
		
		TextBox textBox = new TextBox();
		horizontalPanel.add(textBox);
		
		Image image = new Image("images/loupe.jpg");
		horizontalPanel.add(image);
		image.setSize("40px", "40px");
	}

}
